CD2021 40823139

  • Home
    • Site Map
    • reveal
    • blog
  • Stage-1
    • 最終結果
    • 問題檢討
      • 最佳化設計
      • 模擬的碰撞問題
      • 機構模型過於理想
      • 時間裕度
    • week2
    • week3
    • week4
  • Stage-2
    • week6
    • week7
    • week8
    • week9
  • Stage-3
    • 模型簡化
    • W16 exam
    • W13~W14
      • 翻譯
      • Pick and Place
    • task1
      • 獲得正確順序(沒嵌入網站)
      • 嵌入網站
    • task2
    • task3
  • 機器人學
    • 正向運動學
    • 逆向運動學
  • Program
    • 基礎Python
      • package-example
      • geometry
      • funtion-args
      • funtion-basic
      • loop-basic
      • loop-control
      • module
      • number-string
      • set-dictionary
      • start
      • datatype
      • condition
      • list-tuple
  • About
  • 學期總結
  • CMSiMDE
    • 基本操作
      • 編輯網頁內容
      • 上傳與引用檔案
      • 上傳與引用圖片
      • 嵌入程式碼
      • 嵌入影片檔
      • 檢視 STL
    • Gitlab 同步
    • Heroku 部署
    • Fossil SCM
  • 建立網頁
  • 網站錯誤
    • 標題選擇
    • 靜態網頁 404
    • 動態網站錯誤
    • 出現ValueError
  • 延伸開發
標題選擇 << Previous Next >> 動態網站錯誤

靜態網頁 404

當使用者將近端網頁倉儲資料推向 Github 後, commit 提交訊息之後若沒有出現綠勾, 表示靜態網頁無法轉檔成功, 這時連接靜態網頁時, 將會出現 404, 通常情況下是因為倉儲中 cmsimde 子模組的版次無法與遠端 https://github.com/mdecourse/cmsimde 中的版本對應.

上述靜態網頁出現 404 錯誤訊息的處理方式如下:

  1. 從 https://github.com/mdecourse/cmsimde 倉儲中複製最新版本的版次號, 以 2021/03/03 的版次為例, 版次號為 1c3aeec1f5d26b421743d2f5ef8bb7d5b99292af, 使用者只需要最前面的 7 個字元, 也就是 1c3aeec.
  2. 然後在近端倉儲中, 以命令列進入 cmsimde 目錄後執行: git checkout 1c3aeec
  3. 接著退回倉儲目錄, 以 git add, git commit 及 git push 將倉儲改版內容推向 Github 後應該就可以將倉儲正確轉為靜態網站內容.

標題選擇 << Previous Next >> 動態網站錯誤

Copyright © All rights reserved | This template is made with by Colorlib